import { createStore } from 'vuex'
import createPersistedState from "vuex-persistedstate";
import homeStore from './modules/home'
import cartStore from './modules/category'
import mineStore from './modules/mine'

const store = createStore({
    // strict: true,
    plugins: [createPersistedState()],
    modules: {
        homeStore,
        cartStore,
        mineStore
    } 
})
export default store